package com.veo.dao;

import com.veo.domain.Traveller;
import org.apache.ibatis.annotations.Select;


import java.util.List;

public interface TravellerDao {

    //根据id查询旅客信息
    @Select("select * from traveller where id in (select travellerId from order_traveller where orderId=#{ordersId})")
    List<Traveller> findTravellerById(String ordersId);

}
